﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>WeUI</title>
    <link rel="stylesheet" href="../style/weui.css" />
    <link rel="stylesheet" href="./example.css" />
</head>
<body ontouchstart>
    <div class="container js_container" id="context">
        <script type="text/html">
            {{view controller="home" name="home" app="weiui" /}}
            <div class="page">
                <div class="hd">
                    <h1 class="page_title">WeUI</h1>
                    <p class="page_desc">为微信Web服务量身设计</p>
                    <p class="page_desc">bingoJS {{text bingo.version + ' ' + (bingo.isAFrame?"A":"T") /}}</p>
                </div>
                <div class="bd">
                    <div class="weui_grids">
                        <a href="javascript:void(0);" class="weui_grid" onclick="[[open('button')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_button.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Button
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('cell')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_cell.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Cell
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('toast')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_toast.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Toast
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('dialog')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_dialog.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Dialog
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('progress')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_progress.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Progress
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('msg')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_msg.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Msg
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('article')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_article.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Article
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('actionsheet')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_actionSheet.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                ActionSheet
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('icons')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_icons.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Icons
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('panel')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_panel.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Panel
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('tab')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_tab.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                Tab
                            </p>
                        </a>
                        <a href="javascript:;" class="weui_grid js_grid" onclick="[[open('searchbar')]]">
                            <div class="weui_grid_icon">
                                <img src="./images/icon_nav_search_bar.png" alt="">
                            </div>
                            <p class="weui_grid_label">
                                SearchBar
                            </p>
                        </a>
                    </div>
                </div>
            </div>
            {{cp name="cp1" /}}

            {{tmpl id="tpl_button" for="app"}}
                {{view controller="button" name="button" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Button</h1>
                    </div>
                    <div class="bd spacing">
                        <a href="javascript:;" class="weui_btn weui_btn_primary">按钮</a>
                        <a href="javascript:;" class="weui_btn weui_btn_disabled weui_btn_primary">按钮</a>
                        <a href="javascript:;" class="weui_btn weui_btn_warn">确认</a>
                        <a href="javascript:;" class="weui_btn weui_btn_disabled weui_btn_warn">确认</a>
                        <a href="javascript:;" class="weui_btn weui_btn_default">按钮</a>
                        <a href="javascript:;" class="weui_btn weui_btn_disabled weui_btn_default">按钮</a>
                        <div class="button_sp_area">
                            <a href="javascript:;" class="weui_btn weui_btn_plain_default">按钮</a>
                            <a href="javascript:;" class="weui_btn weui_btn_plain_primary">按钮</a>
                            <a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary">按钮</a>
                            <a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_default">按钮</a>
                        </div>
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back]]">返回</a>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_cell" for="app"}}
                {{view controller="cell" name="cell" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Cell</h1>
                    </div>
                    <div class="bd">
                        <div class="weui_cells_title">带说明的列表项</div>
                        <div class="weui_cells">
                            <div class="weui_cell">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>标题文字</p>
                                </div>
                                <div class="weui_cell_ft">说明文字</div>
                            </div>
                        </div>
                        <div class="weui_cells_title">带图标、说明的列表项</div>
                        <div class="weui_cells">
                            <div class="weui_cell">
                                <div class="weui_cell_hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block"></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>标题文字</p>
                                </div>
                                <div class="weui_cell_ft">说明文字</div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block"></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>标题文字</p>
                                </div>
                                <div class="weui_cell_ft">说明文字</div>
                            </div>
                        </div>
                        <div class="weui_cells_title">带跳转的列表项</div>
                        <div class="weui_cells weui_cells_access">
                            <a class="weui_cell" href="javascript:;">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">
                                </div>
                            </a>
                            <a class="weui_cell" href="javascript:;">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">
                                </div>
                            </a>
                        </div>
                        <div class="weui_cells_title">带说明、跳转的列表项</div>
                        <div class="weui_cells weui_cells_access">
                            <a class="weui_cell" href="javascript:;">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">说明文字</div>
                            </a>
                            <a class="weui_cell" href="javascript:;">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">说明文字</div>
                            </a>
                        </div>
                        <div class="weui_cells_title">带图标、说明、跳转的列表项</div>
                        <div class="weui_cells weui_cells_access">
                            <a class="weui_cell" href="javascript:;">
                                <div class="weui_cell_hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block"></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">说明文字</div>
                            </a>
                            <a class="weui_cell" href="javascript:;">
                                <div class="weui_cell_hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block"></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">说明文字</div>
                            </a>
                        </div>
                        <div class="weui_cells_title">单选列表项</div>
                        <div class="weui_cells weui_cells_radio">
                            <label class="weui_cell weui_check_label" for="x11">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">
                                    <input type="radio" class="weui_check" name="radio1" id="x11">
                                    <span class="weui_icon_checked"></span>
                                </div>
                            </label>
                            <label class="weui_cell weui_check_label" for="x12">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>cell standard</p>
                                </div>
                                <div class="weui_cell_ft">
                                    <input type="radio" name="radio1" class="weui_check" id="x12" checked="checked">
                                    <span class="weui_icon_checked"></span>
                                </div>
                            </label>
                        </div>
                        <div class="weui_cells_title">复选列表项</div>
                        <div class="weui_cells weui_cells_checkbox">
                            <label class="weui_cell weui_check_label" for="s11">
                                <div class="weui_cell_hd">
                                    <input type="checkbox" class="weui_check" name="checkbox1" id="s11" checked="checked">
                                    <i class="weui_icon_checked"></i>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>standard is dealt for u.</p>
                                </div>
                            </label>
                            <label class="weui_cell weui_check_label" for="s12">
                                <div class="weui_cell_hd">
                                    <input type="checkbox" name="checkbox1" class="weui_check" id="s12">
                                    <i class="weui_icon_checked"></i>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>standard is dealicient for u.</p>
                                </div>
                            </label>
                        </div>
                        <div class="weui_cells_title">开关</div>
                        <div class="weui_cells weui_cells_form">
                            <div class="weui_cell weui_cell_switch">
                                <div class="weui_cell_hd weui_cell_primary">标题文字</div>
                                <div class="weui_cell_ft">
                                    <input class="weui_switch" type="checkbox" />
                                </div>
                            </div>
                        </div>
                        <div class="weui_cells_title">表单</div>
                        <div class="weui_cells weui_cells_form">
                            <div class="weui_cell">
                                <div class="weui_cell_hd"><label class="weui_label">qq</label></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="number" pattern="[0-9]*" placeholder="请输入qq号" />
                                </div>
                            </div>
                            <div class="weui_cell weui_vcode">
                                <div class="weui_cell_hd"><label class="weui_label">验证码</label></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="number" placeholder="请输入验证码" />
                                </div>
                                <div class="weui_cell_ft">
                                    <img src="./images/vcode.jpg" />
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd"><label class="weui_label">银行卡</label></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="number" pattern="[0-9]*" placeholder="请输入银行卡号" />
                                </div>
                            </div>
                            <div class="weui_cell weui_vcode weui_cell_warn">
                                <div class="weui_cell_hd"><label class="weui_label">验证码</label></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="number" placeholder="请输入验证码" />
                                </div>
                                <div class="weui_cell_ft">
                                    <i class="weui_icon_warn"></i>
                                    <img src="./images/vcode.jpg" />
                                </div>
                            </div>
                        </div>
                        <div class="weui_cells_tips">底部说明文字底部说明文字</div>
                        <div class="weui_btn_area">
                            <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips">确定</a>
                        </div>
                        <div class="weui_cells_title">上传</div>
                        <div class="weui_cells weui_cells_form">
                            <div class="weui_cell">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <div class="weui_uploader">
                                        <div class="weui_uploader_hd weui_cell">
                                            <div class="weui_cell_bd weui_cell_primary">图片上传</div>
                                            <div class="weui_cell_ft">0/2</div>
                                        </div>
                                        <div class="weui_uploader_bd">
                                            <ul class="weui_uploader_files">
                                                <li class="weui_uploader_file" style="background-image:url(http://shp.qpic.cn/weixinsrc_pic/pScBR7sbqjOBJomcuvVJ6iacVrbMJaoJZkFUIq4nzQZUIqzTKziam7ibg/)"></li>
                                                <li class="weui_uploader_file" style="background-image:url(http://shp.qpic.cn/weixinsrc_pic/pScBR7sbqjOBJomcuvVJ6iacVrbMJaoJZkFUIq4nzQZUIqzTKziam7ibg/)"></li>
                                                <li class="weui_uploader_file" style="background-image:url(http://shp.qpic.cn/weixinsrc_pic/pScBR7sbqjOBJomcuvVJ6iacVrbMJaoJZkFUIq4nzQZUIqzTKziam7ibg/)"></li>
                                                <li class="weui_uploader_file weui_uploader_status" style="background-image:url(http://shp.qpic.cn/weixinsrc_pic/pScBR7sbqjOBJomcuvVJ6iacVrbMJaoJZkFUIq4nzQZUIqzTKziam7ibg/)">
                                                    <div class="weui_uploader_status_content">
                                                        <i class="weui_icon_warn"></i>
                                                    </div>
                                                </li>
                                                <li class="weui_uploader_file weui_uploader_status" style="background-image:url(http://shp.qpic.cn/weixinsrc_pic/pScBR7sbqjOBJomcuvVJ6iacVrbMJaoJZkFUIq4nzQZUIqzTKziam7ibg/)">
                                                    <div class="weui_uploader_status_content">50%</div>
                                                </li>
                                            </ul>
                                            <div class="weui_uploader_input_wrp">
                                                <input class="weui_uploader_input" type="file" accept="image/jpg,image/jpeg,image/png,image/gif" multiple />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="weui_cells_title">文本域</div>
                        <div class="weui_cells weui_cells_form">
                            <div class="weui_cell">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <textarea class="weui_textarea" placeholder="请输入评论" rows="3"></textarea>
                                    <div class="weui_textarea_counter"><span>0</span>/200</div>
                                </div>
                            </div>
                        </div>
                        <div class="weui_toptips weui_warn js_tooltips">格式不对</div>
                        <div class="weui_cells_title">表单报错</div>
                        <div class="weui_cells weui_cells_form">
                            <div class="weui_cell weui_cell_warn">
                                <div class="weui_cell_hd"><label for="" class="weui_label">卡号</label></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="number" pattern="[0-9]*" value="weui input error" placeholder="请输入卡号" />
                                </div>
                                <div class="weui_cell_ft">
                                    <i class="weui_icon_warn"></i>
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd"><label for="" class="weui_label">日期</label></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="date" value="" />
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd"><label for="" class="weui_label">时间</label></div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="datetime-local" value="" placeholder="" />
                                </div>
                            </div>
                        </div>
                        <div class="weui_cells_title">选择</div>
                        <div class="weui_cells">
                            <div class="weui_cell weui_cell_select weui_select_before">
                                <div class="weui_cell_hd">
                                    <select class="weui_select" name="select2">
                                        <option value="1">+86</option>
                                        <option value="2">+80</option>
                                        <option value="3">+84</option>
                                        <option value="4">+87</option>
                                    </select>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input" type="number" pattern="[0-9]*" placeholder="请输入号码" />
                                </div>
                            </div>
                        </div>
                        <div class="weui_cells_title">选择</div>
                        <div class="weui_cells">
                            <div class="weui_cell weui_cell_select">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <select class="weui_select" name="select1">
                                        <option selected="" value="1">微信号</option>
                                        <option value="2">QQ号</option>
                                        <option value="3">Email</option>
                                    </select>
                                </div>
                            </div>
                            <div class="weui_cell weui_cell_select weui_select_after">
                                <div class="weui_cell_hd">
                                    国家/地区
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <select class="weui_select" name="select2">
                                        <option value="1">中国</option>
                                        <option value="2">美国</option>
                                        <option value="3">英国</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="weui_btn_area">
                            <a class="weui_btn weui_btn_warn" href="javascript:" onclick="[[$ui.back]]">返回</a>
                        </div>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_toast" for="app"}}
                {{view controller="toast" name="toast" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Toast</h1>
                    </div>
                    <div class="bd spacing">
                        <a href="javascript:;" class="weui_btn weui_btn_primary" id="showToast" onclick="[[showComplete]]">点击弹出Toast</a>
                        <a href="javascript:;" class="weui_btn weui_btn_primary" id="showLoadingToast" onclick="[[showLoading]]">点击弹出Loading Toast</a>
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                    </div>
                    <!-- loading toast -->

                </div>
            {{/tmpl}}

            {{tmpl id="tpl_dialog" for="app"}}
                {{view controller="dialog" name="dialog" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Dialog</h1>
                    </div>
                    <div class="bd spacing">
                        <a href="javascript:;" class="weui_btn weui_btn_primary" id="showDialog1" onclick="[[showDialog1=true]]">点击弹出Dialog样式一</a>
                        <a href="javascript:;" class="weui_btn weui_btn_primary" id="showDialog2" onclick="[[showDialog2]]">点击弹出Dialog样式二</a>
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                    </div>
                    <!--BEGIN dialog1-->
                    <div class="weui_dialog_confirm" id="dialog1" style="display: none;" show="[[showDialog1]]">
                        <div class="weui_mask"></div>
                        <div class="weui_dialog">
                            <div class="weui_dialog_hd"><strong class="weui_dialog_title">弹窗标题</strong></div>
                            <div class="weui_dialog_bd">自定义弹窗内容，居左对齐显示，告知需要确认的信息等</div>
                            <div class="weui_dialog_ft">
                                <a href="javascript:;" class="weui_btn_dialog default" onclick="[[showDialog1=false]]">取消</a>
                                <a href="javascript:;" class="weui_btn_dialog primary" onclick="[[showDialog1=false]]">确定</a>
                            </div>
                        </div>
                    </div>
                    <!--END dialog1-->
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_dialog1" for="app"}}
                {{view controller="dialogTest" app="weiui" /}}
                <div class="weui_dialog_alert" id="dialog2">
                    <div class="weui_mask"></div>
                    <div class="weui_dialog">
                        <div class="weui_dialog_hd"><strong class="weui_dialog_title">弹窗标题 - {{text params.title /}}</strong></div>
                        <div class="weui_dialog_bd">弹窗内容，告知当前页面信息等</div>
                        <div class="weui_dialog_ft">
                            <a href="javascript:;" class="weui_btn_dialog primary" onclick="[[close]]">确定</a>
                        </div>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_progress" for="app"}}
                {{view controller="progress" name="progress" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Progress{{text progress /}}</h1>
                    </div>
                    <div class="bd spacing">
                        <div class="weui_progress">
                            <div class="weui_progress_bar">
                                <div class="weui_progress_inner_bar js_progress" style="width: [[progress]];"></div>
                            </div>
                            <a href="javascript:;" class="weui_progress_opr">
                                <i class="weui_icon_cancel"></i>
                            </a>
                        </div>
                        <br>
                        <div class="weui_progress">
                            <div class="weui_progress_bar">
                                <div class="weui_progress_inner_bar js_progress" style="width: [[progress]];"></div>
                            </div>
                            <a href="javascript:;" class="weui_progress_opr">
                                <i class="weui_icon_cancel"></i>
                            </a>
                        </div>
                        <br>
                        <div class="weui_progress">
                            <div class="weui_progress_bar">
                                <div class="weui_progress_inner_bar js_progress" style="width: [[progress]];"></div>
                            </div>
                            <a href="javascript:;" class="weui_progress_opr">
                                <i class="weui_icon_cancel"></i>
                            </a>
                        </div>
                        <div class="weui_btn_area">
                            <a href="javascript:;" class="weui_btn weui_btn_primary" id="btnStartProgress" onclick="[[start]]">上传</a>
                            <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                        </div>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_msg" for="app"}}
                {{view controller="msg" name="msg" app="weiui" /}}
                <div class="page">
                    <div class="weui_msg">
                        <div class="weui_icon_area"><i class="weui_icon_success weui_icon_msg"></i></div>
                        <div class="weui_text_area">
                            <h2 class="weui_msg_title">操作成功</h2>
                            <p class="weui_msg_desc">内容详情，可根据实际需要安排</p>
                        </div>
                        <div class="weui_opr_area">
                            <p class="weui_btn_area">
                                <a href="javascript:;" class="weui_btn weui_btn_primary" onclick="[[ok]]">确定</a>
                                <a href="javascript:;" class="weui_btn weui_btn_default" onclick="[[back]]">取消</a>
                            </p>
                        </div>
                        <div class="weui_extra_area">
                            <a href="">查看详情</a>
                        </div>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_article" for="app"}}
                {{view controller="article" name="article" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Article</h1>
                    </div>
                    <div class="bd">
                        <article class="weui_article">
                            <h1>大标题</h1>
                            <section>
                                <h2 class="title">章标题</h2>
                                <section>
                                    <h3>1.1 节标题</h3>
                                    <p>
                                        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                                        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                                        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                                        consequat. Duis aute
                                    </p>
                                </section>
                                <section>
                                    <h3>1.2 节标题</h3>
                                    <p>
                                        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                                        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                                        cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                                        proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                                    </p>
                                </section>
                            </section>
                        </article>
                    </div>
                    <div class="weui_btn_area">
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_tab" for="app"}}
                {{view controller="tab" name="tab" app="weiui" /}}
                <div class="page">
                    <div class="bd">
                        <div class="weui_cells_title">Tab</div>
                        <div class="weui_cells weui_cells_access">
                            <a class="weui_cell js_tab" href="javascript:;" data-id="navbar" onclick="[[click]]">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>navbar</p>
                                </div>
                                <div class="weui_cell_ft">
                                </div>
                            </a>
                            <a class="weui_cell js_tab" href="javascript:;" data-id="tabbar" onclick="[[click]]">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>tabbar</p>
                                </div>
                                <div class="weui_cell_ft">
                                </div>
                            </a>
                            <a class="weui_cell js_tab" href="javascript:;" onclick="[[$ui.back]]">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>返回</p>
                                </div>
                                <div class="weui_cell_ft">
                                </div>
                            </a>
                        </div>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_navbar" for="app"}}
                {{view controller="navbar" name="navbar" app="weiui" /}}
                <div class="page">
                    <div class="bd" style="height: 100%;">
                        <div class="weui_tab">
                            <div class="weui_navbar">
                                <div class="weui_navbar_item weui_bar_item_on">
                                    选项一
                                </div>
                                <div class="weui_navbar_item">
                                    选项二
                                </div>
                                <div class="weui_navbar_item" onclick="[[$ui.back]]">
                                    返回
                                </div>
                            </div>
                            <div class="weui_tab_bd">
                            </div>
                        </div>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_tabbar" for="app"}}
                {{view controller="tabbar" name="tabbar" app="weiui" /}}
                <div class="page">
                    <div class="bd" style="height: 100%;">
                        <div class="weui_tab">
                            <div class="weui_tab_bd">
                            </div>
                            <div class="weui_tabbar">
                                <a href="javascript:;" class="weui_tabbar_item weui_bar_item_on">
                                    <div class="weui_tabbar_icon">
                                        <img src="./images/icon_nav_button.png" alt="">
                                    </div>
                                    <p class="weui_tabbar_label">微信</p>
                                </a>
                                <a href="javascript:;" class="weui_tabbar_item">
                                    <div class="weui_tabbar_icon">
                                        <img src="./images/icon_nav_msg.png" alt="">
                                    </div>
                                    <p class="weui_tabbar_label">通讯录</p>
                                </a>
                                <a href="javascript:;" class="weui_tabbar_item">
                                    <div class="weui_tabbar_icon">
                                        <img src="./images/icon_nav_article.png" alt="">
                                    </div>
                                    <p class="weui_tabbar_label">发现</p>
                                </a>
                                <a href="javascript:;" class="weui_tabbar_item" onclick="[[$ui.back]]">
                                    <div class="weui_tabbar_icon">
                                        <img src="./images/icon_nav_cell.png" alt="">
                                    </div>
                                    <p class="weui_tabbar_label">返回</p>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_panel" for="app"}}
                {{view controller="panel" name="panel" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Panel</h1>
                    </div>
                    <div class="bd">
                        <div class="weui_panel weui_panel_access">
                            <div class="weui_panel_hd">图文组合列表</div>
                            <div class="weui_panel_bd">
                                <a href="javascript:void(0);" class="weui_media_box weui_media_appmsg">
                                    <div class="weui_media_hd">
                                        <img class="weui_media_appmsg_thumb" src="" alt="">
                                    </div>
                                    <div class="weui_media_bd">
                                        <h4 class="weui_media_title">标题一</h4>
                                        <p class="weui_media_desc">由各种物质组成的巨型球状天体，叫做星球。星球有一定的形状，有自己的运行轨道。</p>
                                    </div>
                                </a>
                                <a href="javascript:void(0);" class="weui_media_box weui_media_appmsg">
                                    <div class="weui_media_hd">
                                        <img class="weui_media_appmsg_thumb" src="" alt="">
                                    </div>
                                    <div class="weui_media_bd">
                                        <h4 class="weui_media_title">标题二</h4>
                                        <p class="weui_media_desc">由各种物质组成的巨型球状天体，叫做星球。星球有一定的形状，有自己的运行轨道。</p>
                                    </div>
                                </a>
                            </div>
                            <a class="weui_panel_ft" href="javascript:void(0);">查看更多</a>
                        </div>
                        <div class="weui_panel weui_panel_access">
                            <div class="weui_panel_hd">文字组合列表</div>
                            <div class="weui_panel_bd">
                                <div class="weui_media_box weui_media_text">
                                    <h4 class="weui_media_title">标题一</h4>
                                    <p class="weui_media_desc">由各种物质组成的巨型球状天体，叫做星球。星球有一定的形状，有自己的运行轨道。</p>
                                </div>
                                <div class="weui_media_box weui_media_text">
                                    <h4 class="weui_media_title">标题二</h4>
                                    <p class="weui_media_desc">由各种物质组成的巨型球状天体，叫做星球。星球有一定的形状，有自己的运行轨道。</p>
                                </div>
                            </div>
                            <a href="javascript:void(0);" class="weui_panel_ft">查看更多</a>
                        </div>
                        <div class="weui_panel">
                            <div class="weui_panel_hd">小图文组合列表</div>
                            <div class="weui_panel_bd">
                                <div class="weui_media_box weui_media_small_appmsg">
                                    <div class="weui_cells weui_cells_access">
                                        <a class="weui_cell" href="javascript:;">
                                            <div class="weui_cell_hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block"></div>
                                            <div class="weui_cell_bd weui_cell_primary">
                                                <p>文字标题</p>
                                            </div>
                                            <span class="weui_cell_ft"></span>
                                        </a>
                                        <a class="weui_cell" href="javascript:;">
                                            <div class="weui_cell_hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block"></div>
                                            <div class="weui_cell_bd weui_cell_primary">
                                                <p>文字标题</p>
                                            </div>
                                            <span class="weui_cell_ft"></span>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="weui_panel">
                            <div class="weui_panel_hd">文字列表附来源</div>
                            <div class="weui_panel_bd">
                                <div class="weui_media_box weui_media_text">
                                    <h4 class="weui_media_title">标题一</h4>
                                    <p class="weui_media_desc">由各种物质组成的巨型球状天体，叫做星球。星球有一定的形状，有自己的运行轨道。</p>
                                    <ul class="weui_media_info">
                                        <li class="weui_media_info_meta">文字来源</li>
                                        <li class="weui_media_info_meta">时间</li>
                                        <li class="weui_media_info_meta weui_media_info_meta_extra">其它信息</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="bd spacing">
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                    </div>

                </div>
            {{/tmpl}}

            {{tmpl id="tpl_actionsheet" for="app"}}
                {{view controller="actionsheet" name="actionsheet" app="weiui" /}}
                <div class="page" style="overflow: hidden">
                    <div class="hd">
                        <h1 class="page_title">ActionSheet</h1>
                    </div>
                    <div class="bd spacing">
                        <a href="javascript:;" class="weui_btn weui_btn_primary" id="showActionSheet" onclick="[[show]]">点击上拉ActionSheet</a>
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                    </div>
                    <!--BEGIN actionSheet-->
                    <div id="actionSheet_wrap">
                        <div class="weui_mask_transition" id="mask"></div>
                        <div class="weui_actionsheet" id="weui_actionsheet">
                            <div class="weui_actionsheet_menu">
                                <div class="weui_actionsheet_cell">示例菜单</div>
                                <div class="weui_actionsheet_cell">示例菜单</div>
                                <div class="weui_actionsheet_cell">示例菜单</div>
                                <div class="weui_actionsheet_cell">示例菜单</div>
                            </div>
                            <div class="weui_actionsheet_action">
                                <div class="weui_actionsheet_cell" id="actionsheet_cancel">取消</div>
                            </div>
                        </div>
                    </div>
                    <!--END actionSheet-->
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_icons" for="app"}}
                {{view controller="icons" name="icons" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">Icons</h1>
                    </div>
                    <div class="bd spacing">
                        <i class="weui_icon_msg weui_icon_success"></i>
                        <i class="weui_icon_msg weui_icon_info"></i>
                        <i class="weui_icon_msg weui_icon_warn"></i>
                        <i class="weui_icon_msg weui_icon_waiting"></i>
                        <i class="weui_icon_safe weui_icon_safe_success"></i>
                        <i class="weui_icon_safe weui_icon_safe_warn"></i>
                        <div class="icon_sp_area">
                            <i class="weui_icon_success"></i>
                            <i class="weui_icon_success_circle"></i>
                            <i class="weui_icon_success_no_circle"></i>
                            <i class="weui_icon_info"></i>
                            <i class="weui_icon_waiting"></i>
                            <i class="weui_icon_waiting_circle"></i>
                            <i class="weui_icon_circle"></i>
                            <i class="weui_icon_warn"></i>
                            <i class="weui_icon_download"></i>
                            <i class="weui_icon_info_circle"></i>
                            <i class="weui_icon_cancel"></i>
                            <i class="weui_icon_search"></i>
                            <i class="weui_icon_clear"></i>
                        </div>
                    </div>
                    <div class="bd spacing">
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                    </div>

                </div>
            {{/tmpl}}

            {{tmpl id="tpl_searchbar" for="app"}}
                {{view controller="searchbar" name="searchbar" app="weiui" /}}
                <div class="page">
                    <div class="hd">
                        <h1 class="page_title">searchBar</h1>
                    </div>
                    <div class="bd">
                        <!--<a href="javascript:;" class="weui_btn weui_btn_primary">点击展现searchBar</a>-->
                        <div class="weui_search_bar" id="search_bar">
                            <form class="weui_search_outer">
                                <div class="weui_search_inner">
                                    <i class="weui_icon_search"></i>
                                    <input type="search" class="weui_search_input" id="search_input" placeholder="搜索" required />
                                    <a href="javascript:" class="weui_icon_clear" id="search_clear"></a>
                                </div>
                                <label for="search_input" class="weui_search_text" id="search_text">
                                    <i class="weui_icon_search"></i>
                                    <span>搜索</span>
                                </label>
                            </form>
                            <a href="javascript:" class="weui_search_cancel" id="search_cancel">取消</a>
                        </div>
                        <div class="weui_cells weui_cells_access search_show" id="search_show">
                            <div class="weui_cell">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>实时搜索文本</p>
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>实时搜索文本</p>
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>实时搜索文本</p>
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_bd weui_cell_primary">
                                    <p>实时搜索文本</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="bd spacing">
                        <a href="javascript:;" class="weui_btn weui_btn_warn" onclick="[[$ui.back()]]">返回</a>
                    </div>

                </div>
            {{/tmpl}}

            {{tmpl id="tpl_complete" for="app"}}
                {{view app="weiui" /}}
                <div>
                    <div class="weui_mask_transparent"></div>
                    <div class="weui_toast">
                        <i class="weui_icon_toast"></i>
                        <p class="weui_toast_content">{{text msg /}}</p>
                    </div>
                </div>
            {{/tmpl}}

            {{tmpl id="tpl_loading" for="app"}}
                {{view app="weiui" /}}
                {{controller}}$view.msg = 'asdf'{{/controller}}
                <div class="weui_loading_toast">
                    <div class="weui_mask_transparent"></div>
                    <div class="weui_toast">
                        <div class="weui_loading">
                            <div class="weui_loading_leaf weui_loading_leaf_0"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_1"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_2"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_3"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_4"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_5"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_6"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_7"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_8"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_9"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_10"></div>
                            <div class="weui_loading_leaf weui_loading_leaf_11"></div>
                        </div>
                        <p class="weui_toast_content">{{text msg /}}</p>
                    </div>
                </div>
            {{/tmpl}}
        </script>
    </div>
    <script src="./zepto.min.js"></script>
    <script src="../../scripts/bingo2/bingo.js"></script>
    <script src="route.js"></script>
    <script src="lib.js"></script>
    <script src="./example.js"></script>
</body>
</html>
